package com.rockcent.mall.lib.repository;

import com.rockcent.common.common.PageResult;
import com.rockcent.common.domain.enumclass.Whether;
import com.rockcent.mall.lib.dto.ChannelDto;

import java.util.List;

/**
 * Created by zhangjh on 2016/10/24.
 */
public interface MerchantChannelRepositoryCustom {

    PageResult findByMerchantId(Long merchantId, Long mallId, String status, List<Long> types, String name, String channelClientType, PageResult pageResult);

    ChannelDto getChannelById(Long id, Long merchantId, Long mallId, Whether isDelete);

    List<ChannelDto> getTop5Channel(Long id, Long id1);
}
